package com.msc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.msc.entity.SubRecord;

/**
 * @author masc
 * @date 2022/6/24 23:53
 * <p>订阅记录</p>
 */
public interface SubRecordService extends IService<SubRecord> {

    /**
     * @param userId
     * @param pageIndex
     * @param pageSize
     * @return com.baomidou.mybatisplus.core.metadata.IPage<com.msc.entity.SubRecord>
     * @Author masc
     * @Description: 根据用户Id 查询已订阅的列表
     * @Date 2022/6/25 21:01
     */
    IPage<SubRecord> getAllScribeRecordByUserId(Integer userId, int pageIndex, int pageSize);
}
